package com.example.jiugongge;

public class Point {
    public float x;
    public float y;
    public static final int STATE_NORMAL = 0;
    public static final int STATE_PRESSED = 1;
    public static final int STATE_ERROR = 2;
    public int state;

    public static int getStateNormal() {
        return STATE_NORMAL;
    }

    public static int getStatePressed() {
        return STATE_PRESSED;
    }

    public static int getStateError() {
        return STATE_ERROR;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }


    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }

    public Point() {
    }

    public Point(float x, float y) {
        this.x = x;
        this.y = y;
    }
}
